/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rbh.risk.service;

import com.rbh.risk.entity.ACL;
import com.rbh.risk.entity.Privilege;
import com.rbh.risk.entity.Role;
import java.util.List;

public interface PrivilegeService {

    public void insert(Privilege privilege);

    public void update(Privilege privilege);

    public void delete(Privilege privilege);

    public Privilege getById(Integer categoryId);

    public List<Privilege> getByRole(Role role);

    public List<Privilege> getByACL(ACL acl);

    public List<Privilege> getAll();
}